package com.prp.gwt.client.user.profile;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.prp.gwt.client.ClientException;
import com.prp.gwt.client.vo.User;

@RemoteServiceRelativePath("profileRequest")
public interface ProfileService extends RemoteService{
	public void updateUserInfo(User user) throws ClientException;
	public boolean modifyPassword(String oldPassword, String newPassword) throws ClientException;
	public boolean modifyRegName(String regName) throws ClientException;
	public boolean modifyRealName(String realName) throws ClientException;
	public boolean modifyAddress(String address) throws ClientException;
	public boolean modifyIntroduction(String introduction) throws ClientException;
	public boolean modifyBlog(String blot) throws ClientException;
}
